package com.itheima.stargraph.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.stargraph.dto.request.UserLoginReqDTO;
import com.itheima.stargraph.dto.respone.UserLoginResDTO;
import com.itheima.stargraph.pojo.User;

/**
 * 用户业务层接口类
 *
 * @Author mr.wu
 * @Date 2025-6-9 10:48
 */
public interface UserService extends IService<User> {

    /**
     * 用户登录
     * @param dto
     * @return
     */
    UserLoginResDTO login(UserLoginReqDTO dto);
}